#ifndef INTERPRETER_H
#define INTERPRETER_H

#include "album.h"

#include <list>
#include <string>
using namespace std;

class interpreter {
public:
	interpreter(const string &name):_name(name) {};
	interpreter() {};
	~interpreter();
	
	void set_albums(const list<album*> &l) { _albums = l; }
	list<album*>& get_albums() { return _albums; }
	const list<album*>& get_albums() const { return _albums; }

	void set_name(const string &name) { _name = name; }
	const string& get_name() const { return _name; }

	string to_xml() const;
private:
	list<album*> _albums;
	string _name;
};

#endif
